Exp=z
@p1='Ҫ
@c1=
@p2=
@c2=
@va=a
@vb=b
@vc=c
@vd=d
@end
                                        
//:CheckKey
//ĿģǷڶӦļ
//{̿Ըıʽ
//ؽ
//ؼ٣ʾδҵӦļδעע󣬷,ʾڶӦļ
public bool CheckKey()
{
	//̿κεطʹüճķʽδԼĴУһҪע⣬ҪʹеļܱʽһҪԼһµļܱʽ
     //칤ɵļܺļܱʽ
    //бܵıʽΪ@exp
     byte[] InArray ={ @ak100,@ak101,@ak102,@ak103,@ak104,@ak105,@ak106,@ak107,@ak108,@ak109,@ak110,@ak111,@ak112,@ak113,@ak114,@ak115};
     byte[] OutArray = new byte[16]; 
    //ܺıʽ͵ннܲ¼ܣʹӦȨţעת
    //Ȼ󷵻ؼܺݣüܺüӦ
    //ֻбӦȨŽתݲܱӦļܲ
    LastError = E_Dec_6(E_Hkey, E_Lkey, InArray, OutArray, KeyPath);
    if (LastError != 0 ) return false;
	
	//ֲ
	short a,b,c,d,temp_a,temp_b,temp_c,temp_d; 
	//
	System.Random rnd=new System.Random();
	temp_a=a =(short) rnd.Next(0,255) ;temp_b=b = (short) rnd.Next(0,255); temp_c=c = (short) rnd.Next(0,255); temp_d=d = (short) rnd.Next(0,255);
	//͵ڽ㣬ķڼܱʽ
	LastError = CalculateEx_2(OutArray, ref temp_a, ref temp_b, ref temp_c, ref temp_d, KeyPath, 16, 2000);
    if ( LastError!= 0)  return false;
	//ڵʹô㷨ԸղŲ㣬ĽǷͬ
	@1
	//ͬڶӦ򣬲ڶӦļ
	if ((a == temp_a) && (b == temp_b) && (c == temp_c) && (d == temp_d ))return true;
	return false;
}